package com.lxinet.jeesns.modules.wechat.service;

import com.lxinet.jeesns.core.dto.ResponseModel;
import com.lxinet.jeesns.core.entity.Page;
import com.lxinet.jeesns.modules.wechat.entity.RowMsg;
import com.lxinet.jeesns.modules.wechat.entity.WechatRecord;

import java.util.List;

/**
 * Created by lzs on 2017/4/11.
 */
public interface IWechatRecordService {

    List<WechatRecord> findRecords(String wxuin , String username);

    List<WechatRecord> findZDMsg(String formusername , String tousername);

    void changeFlag(Integer id);

    int save(WechatRecord wechatRecord);

    WechatRecord findByCondition(String formusername, String tousername, String msgid);

    int getCount(String username);

    List<RowMsg> Conditioncount(String tousername);

    int getCountByNickName(String nickname);

    ResponseModel findOldMsgByPage(Page page , String formusername , String tousername);

}
